home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_7157.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  43 lines

  1. -- card: 7157 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Rope bridge crossing
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.  
  18.   get field "textarea" of card "Mountain Trail"
  19.   put it&return&"Cross the bridge" into field "textarea" of card "Mountain Trail"
  20.  
  21.   get field "textarea" of card "Mountain Trail"
  22.   put it&return&"Jump" into field "textarea" of card "Mountain Trail"
  23.  
  24.   get field "textarea" of card "Mountain Trail"
  25.   put it&return&"Travel upstream" into field "textarea" of card "Mountain Trail"
  26.  
  27.   visual effect dissolve
  28.   go to card "Mountain Trail"
  29.  
  30. end mouseUp
  31.  
  32.  
  33. -- part contents for background part 1
  34. ----- text -----
  35. Rope bridge crossing
  36.  
  37. -- part contents for background part 2
  38. ----- text -----
  39. The trail takes you to a canyon traversed by a shakey bridge made of rotting rope and boards. Far below, a turbulent river spins whirlpools and froth before it vanishes over the edge of a high waterfall.
  40.  
  41. -- part contents for background part 5
  42. ----- text -----
  43. 5